package com.itchen.exception;

/**
 * @author げっしょく
 * @date 2021/9/17
 */


public class SystemException extends RuntimeException {
    private boolean flag;

    public SystemException(String message, boolean flag) {
        super(message);
        this.flag = flag;
    }

    public SystemException(boolean flag, String message, Throwable cause) {
        super(message, cause);
        this.flag = flag;
    }

    public boolean getFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
